package com.mk.cloud.common.domain;

import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.annotatoin.Table;
import org.beetl.sql.core.mapper.BaseMapper;

import javax.persistence.Transient;

@Table(name = "cp_config")
@SuppressWarnings("unused")
public class CpConfig {
    /**
     * 配置项
     */
    @AssignID
    private String cfid;
    @AssignID
    private String coid;

    /**
     * 配置项值
     */
    private String cfvalue;

    @Transient
    private String label;
    @Transient
    private String value;
    @Transient
    private String name;
    @Transient
    private String part;
    @Transient
    private String desc;

    public String getCoid() {
        return coid;
    }

    public void setCoid(String coid) {
        this.coid = coid;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    /**
     * 获取配置项
     *
     * @return cfid - 配置项
     */
    public String getCfid() {
        return cfid;
    }

    /**
     * 设置配置项
     *
     * @param cfid 配置项
     */
    public void setCfid(String cfid) {
        this.cfid = cfid;
    }

    /**
     * 获取配置项值
     *
     * @return cfvalue - 配置项值
     */
    public String getCfvalue() {
        return cfvalue;
    }

    /**
     * 设置配置项值
     *
     * @param cfvalue 配置项值
     */
    public void setCfvalue(String cfvalue) {
        this.cfvalue = cfvalue;
    }


    public interface Mapper extends BaseMapper<CpConfig> {
    }
}